package com.qf.java2201.service;

import com.qf.java2201.common.PageVo;
import com.qf.java2201.pojo.Goods;

import java.util.List;
import java.util.Map;

public interface ProductService {

    PageVo<Goods> getPageData(Map<String, Object> params);

    int updateProductById(Goods goods);

    int deleteProductById(Goods goods);

    int addProduct(Goods goods);

    //按照条件 查询所有学生信息
    List<Goods> selectList(Goods goods);

    void addProducts(List<Goods> goods);
}
